package com.jyh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/11/17 16:09
 */
@Data
@TableName(value = "t_user")
@ApiModel(description = "用户对象")
public class User {

    @ApiModelProperty(name = "uid",value = "编号")
    @TableId(type = IdType.AUTO)
    private Integer uid;
    @ApiModelProperty(name = "email",value = "邮箱")
    private String email;
    @ApiModelProperty(name = "nikename",value = "昵称")
    private String nikename;
    @ApiModelProperty(name = "password",value = "密码")
    private String password;
}
